package com.fwpsl.springframework.dao;

import com.fwpsl.springframework.entity.User;
import org.springframework.stereotype.Repository;

import java.util.Collections;
import java.util.List;

/**
 * @author: 风戏fw
 * @date: 2024/5/20
 * @description:
 */
@Repository("fw")
public class UserDaoImpl {

    /**
     * mocked to find user list.
     *
     * @return user list
     */
    public List<User> findUserList() {
        return Collections.singletonList(new User("fw", 18));
    }
}